package com.ktwlsoft.archivemanage.domain.dao.repository.businessInspectTem;

import java.util.List;

import com.ktwlsoft.archivemanage.domain.dao.entity.businessInspectTem.InspectTemSubjectItem;
import org.apache.ibatis.annotations.Mapper;

/**
 * inspect_tem_subject_item--指导模板题目选项
 *
 * @author zhuhe on 2019-11-06 15:56:32
 * @version 1.0
 */
@Mapper
public interface IInspectTemSubjectItemMapper {
	
	/**
	 * 查询列表 on 2019-11-06 15:56:32
	 * @param inspectTemSubjectItem inspectTemSubjectItem
	 * @return List<InspectTemSubjectItem>
	 */
	List<InspectTemSubjectItem> findList(InspectTemSubjectItem inspectTemSubjectItem);
	
	
	/**
	 * 根据id查询信息 on 2019-11-06 15:56:32
	 * @param id id
	 * @return InspectTemSubjectItem
	 */
	InspectTemSubjectItem getById(Long id);
	
	
	/**
	 * 根据id删除信息 on 2019-11-06 15:56:32
	 * @param id id
	 * @return int
	 */
	int deleteById(Long id);
	
	/**
	 * 根据id集合批量删除信息 on 2019-11-06 15:56:32
	 * @param ids ids
	 * @return int
	 */
	int deleteByIds(List<Long> ids);

	/**
	 * 插入 on 2019-11-06 15:56:32
	 * @param inspectTemSubjectItem inspectTemSubjectItem
	 * @return int
	 */
    int insert(InspectTemSubjectItem inspectTemSubjectItem);

	/**
	 * 批量插入 on 2019-04-23 10:57:02
	 * @param list list
	 * @return int
	 */
	int manyInsert(List<InspectTemSubjectItem> list);

	/**
	 * 更新 on 2019-11-06 15:56:32
	 * @param inspectTemSubjectItem inspectTemSubjectItem
	 * @return int
	 */
    int update(InspectTemSubjectItem inspectTemSubjectItem);
}
